package evance.user.war.controller.customer;

import java.util.Locale;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import evance.user.war.controller.home.HomeController;

@Controller(value = "/customer")
public class CustomerController {

	private static Logger log = Logger.getLogger(HomeController.class);

	@RequestMapping(method = RequestMethod.GET)
	public String customer(Locale locale, Model model) {
		log.debug("Welcome customer ! the client locale is " + locale.toString() + "; " + locale.getDisplayName());
		return "user";
	}
}
